package com.beehoo.dcportal.admin.service;

import java.util.List;

import com.beehoo.dcportal.common.base.BaseException;
import com.beehoo.dcportal.model.ComplaintBean;

public interface ComplaintService {

	/**
	 * 查询投诉上报列表
	 * 
	 * @param paramMap
	 * @return
	 * @throws BaseException
	 */
	public List<ComplaintBean> queryComplaints(String streetId,
			String queState, String beginDate, String endDate, int pageNo,
			int pageRows) throws BaseException;

	/**
	 * 查询投诉上报列表总数
	 * 
	 * @param paramMap
	 * @return
	 * @throws BaseException
	 */
	public int queryComplaintCount(String streetId, String queState,
			String beginDate, String endDate) throws BaseException;

	/**
	 * 查询一条投诉上报
	 * 
	 * @param paramMap
	 * @return
	 * @throws BaseException
	 */
	public ComplaintBean queryComplaint(String streetId, String queId)
			throws BaseException;

	/**
	 * 审核投诉上报
	 * 
	 * @param commentBean
	 * @return
	 * @throws BaseException
	 */
	public void auditComplaint(ComplaintBean complaintBean)
			throws BaseException;

	/**
	 * 删除投诉上报
	 * 
	 * @param commentId
	 * @return
	 * @throws BaseException
	 */
	public void delComplaint(String queId) throws BaseException;
}
